package org.gnyxy.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.gnyxy.entity.Dish;
import org.gnyxy.entity.User;

import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Set;

@Mapper
public interface SearchMapper {
    Set<String> getDishNameByName(String name);
    Set<String> getMaterialNameByName(String name);

    Set<Dish> getDishByName(String name);

    Set<Long> getMaterialIdByName(String name);

    Set<Long> getDishIdsByMaterialIds(Set<Long> materialIds);

    Set<Dish> getDishByDishIds(Set<Long> dishIds);
}
